<!--
 * @Author: H.
 * @Date: 2021-12-06 18:12:03
 * @LastEditTime: 2021-12-14 13:24:14
 * @Description:
-->
<template>
  <div class="chat">
    <hy-editor v-model:value="htmlString" />
  </div>
</template>

<script lang="ts">
import { defineComponent, ref } from 'vue'
import HyEditor from '@/base-ui/editor'

export default defineComponent({
  name: 'chat',
  components: {
    HyEditor
  },
  setup() {
    const htmlString = ref<string>('Hello!')
    return {
      htmlString
    }
  }
})
</script>

<style scoped>
.chat {
  margin-top: 18px;
}
</style>
